package com.mediator.smartHouse;

public class CoffeeMachineColleague extends Colleague{
    public CoffeeMachineColleague(Mediator mediator, String name) {
        super(mediator, name);
    }

    @Override
    public void sendMessage(int stateChange) {

    }

    public void startCoffee(){
        System.out.println("咖啡机开始制作咖啡 ... ");
    }

    public void closeCoffee(){
        System.out.println("咖啡机关闭 ... ");
    }
}
